package com.kaishengit.dao;

import com.kaishengit.entity.OrderItem;
import com.kaishengit.util.DBHelp;

public class OrderItemDao {
	
	private DBHelp<OrderItem> db = new DBHelp<OrderItem>();
	
	public void save(OrderItem item){
		String sql = "insert into t_orderitem(prodid,orderid,num,total) value(?,?,?,?)";
		db.executeSQL(sql, item.getProdid(),item.getOrederid(),item.getNum(),item.getTotal());
	}

}
